﻿@model rentit03_client.Controllers.SearchViewModel
@using (Html.BeginForm("Search", "Movie", FormMethod.Get, new { @class = "well form-inline" }))
{
    <h3>
        <i class="icon-search"></i>Search</h3>
    @Html.TextBoxFor(model => model.Title, new { @placeholder = "Title", @class = "input-small span3" })
    <select class="span2" id="Year" name="Year">
        <option>- Year -</option>
        <option>Before-1989</option>
        <option>1990-1989</option>
        <option>2000-2009</option>
        <option>2010-Now</option>
    </select>
    <select class="span2" id="Genre" name="Genre">
        <option>- Genres -</option>
        <option>Action</option>
        <option>Comedy</option>
        <option>Drama</option>
        <option>Thriller</option>
        <option>Tragedy</option>
    </select>
    <button class="btn btn-info" type="submit">
        Search</button>
}